package service.impl;

import bean.pojo.GdPrice;
import dao.GdPriceMapper;
import org.springframework.stereotype.Service;
import service.GdPriceService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GdPriceServiceiImpl implements GdPriceService {

    @Resource
    private GdPriceMapper gdPriceMapper;

    public int insert(GdPrice pojo){
        return gdPriceMapper.insert(pojo);
    }

    public int insertList(List< GdPrice> pojos){
        return gdPriceMapper.insertList(pojos);
    }

    public List<GdPrice> select(GdPrice pojo){
        return gdPriceMapper.select(pojo);
    }

    public int update(GdPrice pojo){
        return gdPriceMapper.update(pojo);
    }

}
